package cn.com.xyc.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Order {
	private Integer id;
	private Date createDate;

	private Set<Item> items = new HashSet<Item>();
	private Integer itemsNum;// 用于计算item个数

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Set<Item> getItems() {
		return items;
	}

	public void setItems(Set<Item> items) {
		this.items = items;
	}

	public Integer getItemsNum() {
		return itemsNum;
	}

	public void setItemsNum(Integer itemsNum) {
		this.itemsNum = itemsNum;
	}

}
